<% form_tag do %>
    Username
    <%= text_field_tag :username, params[:username] %>
    <br/>
    Password
    <%= password_field_tag :password, params[:password] %>
    <br/>
    <%= submit_tag "Login" %>
<% end %>